package com.benio.ycfdisplayer.displayer;

/**
 * 图片加载器
 * 加载器将uri对应的图片加载到Target中
 * Created by zhangzhibin on 2016/8/30.
 *
 * @param <T> Target类型
 */
public interface Displayer<T extends Target> {
    /**
     * Adds display image task to Displayer. Image will be set to Target when it's turn.
     *
     * @param uri    Image URI
     * @param target {@link Target} which should display image
     */
    void display(String uri, T target);
}